package jp.co.technotree.common.exception;

public class CommandExecuteException extends Exception implements ChainException{
	private static final long serialVersionUID = 1L;
	private Exception exception = null;
	
	public CommandExecuteException() {
		super();
	}

	public CommandExecuteException(String message) {
		super(message);
	}

	public CommandExecuteException(Throwable cause) {
		super(cause);
	}

	public CommandExecuteException(String message, Throwable cause) {
		super(message, cause);
	}

	public void addException(Exception exception) {
		this.exception = exception;
	}

	public Exception getException() {
		return this.exception;
	}

}
